package com.liuxvru.project.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.liuxvru.project.domain.TestPlan;
import com.liuxvru.project.vo.TestPlanInitVo;

import java.util.List;

/**
 * 测试计划Service接口
 *
 * @author liuxvru
 * @date 2024-11-22
 */
public interface ITestPlanService extends IService<TestPlan> {

    /**
     * 查询测试计划列表
     *
     * @param testPlan 测试计划
     * @return 测试计划集合
     */
    public List<TestPlan> selectTestPlanList(TestPlan testPlan);

    int add(Long projectId, TestPlan testPlan);

    TestPlanInitVo allInit(Long planId);
}
